﻿/**
 * @file 485.c
 * @brief this is a brief description
 * @details this is the detail description.
 * @author fulong 
 * @data 8/26/2014
 * @version 1.0
 * @par Copyright (c):
 * @par First build
 *     version: fulong 
 *     data: 8/26/2014
 */
#include "485.h"
#include "io_configure.h"
#include "../bsp/bsp.h"

#ifdef MODBUS_ENABLE
void set_485(uint8 status) {
    CTRL_PORT_485(status);
}
void init_485(void) {
    CTRL_485();
    set_485(RX_485);
}
#endif

